/**
 * @param {HTMLElement} el
 * @returns {Object}
 */
export function getElementScroll(el: HTMLElement): { top: number; left: number } {
  return {
    top: el.scrollTop,
    left: el.scrollLeft
  }
} 